package com.baizhi.springboot.service;

import com.baizhi.springboot.dao.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserDao userDao;

    @Override
    public void updatePassword(String name, Integer new1) {
        userDao.updatePassword(name,new1);
    }
}
